﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HzybService.BaseInData
{
    /// <summary>
    /// 建立就诊档案入参封装
    /// </summary>
    public class RcJianLiJzda : HzybRc
    {
        /// <summary>
        /// 就诊流水号
        /// </summary>
        public string JiuZhenLsh { set; get; }

        /// <summary>
        /// 医疗类别
        /// </summary>
        public string YiLiaoLb { set; get; }

        /// <summary>
        /// 就诊时间
        /// </summary>
        public string JiuZhenSj { set; get; }

        /// <summary>
        /// 主诊断编码
        /// </summary>
        public string ZhuZhenDbm { set; get; }

        /// <summary>
        /// 主诊断名称
        /// </summary>
        public string ZhuZhenDmc { set; get; }

        /// <summary>
        /// 病区
        /// </summary>
        public string BingQu { set; get; }

        /// <summary>
        /// 科室
        /// </summary>
        public string KeShi { set; get; }

        /// <summary>
        /// 床号
        /// </summary>
        public string ChuangHao { set; get; }

        /// <summary>
        /// 医师服务编码
        /// </summary>
        public string YiShiFwbm { set; get; }

        /// <summary>
        /// 医生姓名
        /// </summary>
        public string YiShengXm { set; get; }

        /// <summary>
        /// 经办人
        /// </summary>
        public string JingBanRen { set; get; }

        /// <summary>
        /// 个人编号
        /// </summary>
        public string GeRenBh { set; get; }

        /// <summary>
        /// 实际就诊医疗机构编号
        /// </summary>
        public string ShiJiJzyljgbh { set; get; }

        /// <summary>
        /// 实际就诊医疗机构编号
        /// </summary>
        public string ShiJiJzyljgmc { set; get; }

        /// <summary>
        /// 备案号
        /// </summary>
        public string BeiAnHao { set; get; }

        /// <summary>
        /// 急诊标志
        /// </summary>
        public string JiZhenBz { set; get; }

        /// <summary>
        /// 外配处方购药标志
        /// </summary>
        public string WaiPeiCfgybz { set; get; }

        public RcJianLiJzda()
        {
        }

        public override bool CheckData()
        {
            return base.CheckData();
        }

        public override string GetInputStr()
        {
            RuCan = string.Format("{0}|{1}|{2}|{3}|{4}|{5}|{6}|{7}|{8}|{9}|{10}|{11}|{12}|{13}|{14}|{15}|{16}", JiuZhenLsh,
                YiLiaoLb,
                JiuZhenSj,
                ZhuZhenDbm,
                ZhuZhenDmc,
                BingQu,
                KeShi,
                ChuangHao,
                YiShiFwbm,
                YiShengXm,
                JingBanRen,
                GeRenBh,
                ShiJiJzyljgbh,
                ShiJiJzyljgmc,
                BeiAnHao,
                JiZhenBz,
                WaiPeiCfgybz);
            return base.GetInputStr();
        }
    }
}